package com.ease.web.server;

public class WebLogicEndpointDetector {

	String serverName, serverAddress;
	int serverPort;
	//
	// private void getServerInfo() throws Exception {
	// Context myCtx = new InitialContext();
	// MBeanHome home = (MBeanHome) myCtx.lookup(MBeanHome.LOCAL_JNDI_NAME);
	// String serverName = home.getMBeanServer().getServerName();
	//
	// ServerMBean sc = (ServerMBean) home.getConfigurationMBean(serverName, "ServerConfig");
	// serverAddress = sc.getListenAddress();
	// serverPort = sc.getListenPort();
	// }
}
